package com.ark.constant;

/**
 * @author dyz
 * @date 2025/4/12 13:59
 */
public class OrderConstant {
    //订单状态 1待付款 2待接单 3已接单 4派送中 5已完成 6已取消
    /**
     * 待付款
     */
    public static final Integer PENDING_PAYMENT = 1;
    /**
     * 待接单
     */
    public static final Integer TO_BE_CONFIRMED = 2;
    /**
     * 已接单
     */
    public static final Integer CONFIRMED = 3;
    /**
     * 派送中
     */
    public static final Integer DELIVERY_IN_PROGRESS = 4;
    /**
     * 已完成
     */
    public static final Integer COMPLETED = 5;
    /**
     * 已取消
     */
    public static final Integer CANCELLED = 6;

    //支付状态 0未支付 1已支付 2退款

    /**
     * 未支付
     */
    public static final Integer UN_PAID = 0;
    /**
     * 已支付
     */
    public static final Integer PAID = 1;
    /**
     * 退款
     */
    public static final Integer REFUND = 2;
}
